<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>来加健康服务网</title>
    <meta name="applicable-device" content="mobile">
    <meta name="location" content="province=河北;city=石家庄">
    <!-- 移动设备支持 -->
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
    <meta content="no-cache" http-equiv="pragma">
    <meta content="0" http-equiv="expires">
    <meta content="telephone=no, address=no" name="format-detection">
    <!--<meta name="apple-mobile-web-app-capable" content="yes"> -->
    <!--<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">-->
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <!--<meta name="x5-fullscreen" content="true">-->

    <link href="Public/mobile/css/common.css?64" rel="stylesheet" type="text/css">
    <link href="Public/mobile/css/new.css?65" rel="stylesheet" type="text/css">
    <link href="Public/mobile/js/layer/need/layer.css" rel="stylesheet" type="text/css">
    <link href="Public/mobile/js/layerModel/layerModel.css" rel="stylesheet" type="text/css">
    <script src="../Scripts/jquery-1.10.2.min.js"></script>

    <script>

        $(function () {
            var s = window.location["search"];
            var i = s.lastIndexOf("?");
            s = s.substring(i + 1);
            ////接收页面传值
            //var uri = document.documentURI;
            //var s = window.location["search"];
            //s = s.substring(1);
            //var plist = s.split('?');
            //var Name = "";
            ////名称
            //$(plist).each(function (i, obj) {

            //    Name = decodeURI(obj.split(","));
            //})

            //接收页面传值，套餐类型Id
            var uri = document.documentURI;
            var index = uri.lastIndexOf("?");
            var eid = 0;//套餐类型Id默认值
            if(index>0)
            {
                //如果有参数
                eid = uri.substr(++index);
            }
            else
            {
                //没有参数则获取全部
                eid=0;
            }

            $.ajax({
                url: "/api/GetComboList",
                type:"post",
                data:{comboTypeId:eid, pageIndex:1, pageSize:10},
                success: function (data) {
                    if(data.Code==1)
                    {
                        $(data.Data).each(function (i, obj) {
                            var tr = "<a class='tc_box' href='tj_list_details.html?" 
                            + obj.Id + "'><img class='img' src='"
                            + obj.PicUrl + "'><div class='info'><h3>"
                            + obj.Name + "</h3><div class='tc_pic'><span class='pic'>¥" 
                            + obj.Price + "</span><del>原价:" 
                            + obj.Oldprice + "</del>"
                            //+"<em>"+ obj.Sonnum + "人预约</em>"
                            +"</div></div></a>";
                            $("#tj_list_show").append(tr);
                            //隐藏进度条
                            $(".jiazai_btn1").css("display", "none")
                            $(".spinner").css("display", "none")
                        })
                    }
                }
            });
            

            //根据名称获取套餐
            $.ajax({
               type: "get",
               url: "/combo2/GetId",
               data: {
                   "eid": eid
               },
               success: function (d) {

                   $(d).each(function (i, obj) {
                       var tr = "<a class='tc_box' href='tj_list_details.html?" + obj.Id + "'><img class='img' src='" + obj.PicUrl + "'><div class='info'><h3>" + obj.Name + "</h3><div class='tc_pic'><span class='pic'>¥" + obj.Price + "</span><del>原价:" + obj.Oldprice + "</del><em>" + obj.Sonnum + "人预约</em></div></div></a>";
                       $("#tj_list_show").append(tr);
                       $(".spinner").css("display", "none")
                   })
               }
            })


            $.ajax({
               url: '/Api/getComboType',
               type: 'post',
               success: function (x) {
                   $("#type_list").empty();
                   var content = "<h5 class=\"sub off\" style=\"cursor: pointer;\">热门体检</h5><div style=\"height: 100%; overflow: hidden;background-color:#f7f7f7; position: relative; -webkit-transform-origin: 0px 0px; opacity: 1; -webkit-transform: scale(1, 1);\">";
                   $(x).each(function () {
                       content += "<p class=\"property\" data-href=\"t40\" onclick=\"location.href='tj_list.html?" + this.Id + "'\"  style=\"cursor: pointer;\">" + this.Name + "</p>";
                   });
                   content += "<div class=\"clear\"></div></div>";
                   $("#type_list").append(content);
               }
            });

            $("#ul_crowd").empty();

            $.ajax({
               url: '/Api/GetCrowd',
               type: 'post',
               DataType: 'json',
               success: function (d) {
                   $(d).each(function (i, obj) {

                       var d1 = '<li ><a href="tj_list.html?' + obj.Id + '">' + obj.Nname + '</a></li>';
                       $("#ul_crowd").append(d1);
                   })

               }
            })
        });
    </script>

</head>
<body>
    <header class="header">
        <a class="fh_btn" href="Index.html"></a>
        <h2>体检套餐列表</h2>
        <a class="hom_icon" href="Index.html"></a>
    </header>
    <div class="tclist_topbox">
        <ul>
            <li>
                <select name="" id="" class="list">
                    <option value="" class="list">性别</option>
                    <option value="">男</option>
                    <option value="">女</option>
                </select>  
            </li>

            <li>
                <select name="" id="" class="list">
                    <option value="" class="list">年龄</option>
                    <option value="">青年体检</option>
                    <option value="">中年体检</option>
                    <option value="">老年体检</option>
                </select>  
            </li>
            <li>
                <select name="" id="" class="list">
                    <option value="" class="list">预算</option>
                    <option value="">100-500</option>
                    <option value="">500-1000</option>
                    <option value="">1000-1500</option>
                    <option value="">1500以上</option>
                </select>  
            </li>
        </ul>
    </div>
    <div class="tc_list" id="tj_list_show">
        
    </div>
    <div class="jiazai_btn1" id="load_combos">
        <a href="javascript:void(0);" onclick="Idall()">加载全部</a>
        <div class="spinner">
            <div class="spinner-container container1">
                <div class="circle1"></div>
                <div class="circle2"></div>
                <div class="circle3"></div>
                <div class="circle4"></div>
            </div>
            <div class="spinner-container container2">
                <div class="circle1"></div>
                <div class="circle2"></div>
                <div class="circle3"></div>
                <div class="circle4"></div>
            </div>
            <div class="spinner-container container3">
                <div class="circle1"></div>
                <div class="circle2"></div>
                <div class="circle3"></div>
                <div class="circle4"></div>
            </div>
        </div>
    </div>
    <div style="display: none;">
        <input type="hidden" value="" id="get_st" />
        <input type="hidden" value="" id="get_suit" />
        <input type="hidden" value="" id="get_pri" />
    </div>
<div class="clear"></div>
<div style="height:10%;"></div>
<div id="footer" style="width: 100%;max-width: 640px;">

<div style="height:70px;"></div>
<div class="clear"></div>
  <ul class="foot-list">
    <li style="width: 25%;" ><a href="Index.html"><img src="Public/mobile/images/n_6.png"><p>首页</p></a></li>
    <li style="width: 25%;" ><a onclick="qimoChatClick();"><img src="Public/mobile/images/n_7.png"><p>咨询</p></a></li>
    <li style="width: 25%;"><a href="find_health.html"><img src="Public/mobile/images/n_8.png"><p>发现</p></a></li>
    <li style="width: 25%;" ><a href="member.html"><img src="Public/mobile/images/n_9.png"><p>我的</p></a></li>
  </ul>
</div>

</div>

<script type="text/javascript">
  // 定义一些常量
  var __appId = "";                 // 必填，公众号的唯一标识
  var __timestamp = "";     // 必填，生成签名的时间戳
  var __nonceStr = "";      // 必填，生成签名的随机串
  var __signature = ""; // 必填，签名，见附录1
  var __public='/Public';
  var __baiduak="FE5a0df097aaacb5b50fe2c75fd2de0f";
  var __refererType__="normal";
  var __indexUrl__="/";//默认的首页地址,即当返回到顶层时的地址
</script>
<script type="text/javascript" src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
<!-- <script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script> -->
<script type="text/javascript" src="Public/mobile/js/My97DatePicker/WdatePicker.js"></script> 
<script type="text/javascript" src="Public/mobile/js/layer/layer.js"></script> 
<script type="text/javascript" src="Public/mobile/js/layerModel/jquery.layerModel.js"></script> 
<script type="text/javascript" src="Public/mobile/js/jquery.scrollLoading.js"></script>
<script type="text/javascript" src="Public/mobile/js/jquery.cookie.js"></script>
<script type="text/javascript">
    if(__refererType__=="weixin"){
        document.write('<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"><\/script>');
    }
</script>
<script type="text/javascript" src="Public/mobile/js/common.js?72"></script>

  <script type="text/javascript">
    var pageInfo={PageSize:10,CurPageIndex:1,PageCount:57,RowCount:569};
    var no_stickUp = false;
  </script>
  <script type="text/javascript" src="Public/mobile/js/combo.js"></script>
<script type="text/javascript">
    //解析事sem推广
    var hash=location.hash;
    var reg=new RegExp("sem_(bd|360|sg|jt|sm)_(.*)?");
    if(reg.test(hash)){
        var matchs=reg.exec(hash);
        $.get("/Sem/submit",{channel:matchs[1],keys:matchs[2]},function(){
        });
    }
</script>
<div style="display:none">
    <!--统计代码-->
    <img src="http://c.cnzz.com/wapstat.php?siteid=1253083248&r=http%3A%2F%2Fm.viptijian.com%2F0591&rnd=1072416982" width="0" height="0"/>    <!--百度统计代码-->
        <img src="http://hm.baidu.com/hm.gif?si=e23220b7e728f5512d935dd4b95e539d&amp;et=0&amp;nv=0&amp;st=4&amp;lt=1476786559&amp;su=http%3A%2F%2Fm.viptijian.com%2F0591&amp;v=wap-0-0.2&amp;rnd=3361582841" width="0" height="0" />
</div>
<script type="text/javascript">
    // 新的百度统计代码
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?da5f5c0399ed040f41e88552ab48d766";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
<!--腾讯统计代码-->
<script type="text/javascript" src="http://tajs.qq.com/stats?sId=58654145" charset="UTF-8"></script>


<!-- 第三方客服调用 -->
    <script type='text/javascript' src='//webchat.7moor.com/javascripts/7moorInit.js?accessId=40c7b5a0-5711-11e7-8ece-f731cb02a380&autoShow=false' async='async'></script>
</body>
</html>